Hi Jacob,
That is probably correct. You may be able to workaround it by executing the C program below.
Do you really need to flash the board. I prefer to keep the board in a virgin state and just configure it from the PC each time.
Regards
TK
#include "KMotionDef.h"
void iFLASH(void)
main() { iFLASH(); }
Group: DynoMotion |
Message: 386 |
From: papa__j |
Date: 5/21/2010 |
Subject: Re: flash command |
Tom,
Thanks for the suggestion, I'll try it out today.
I'm using the user persist vars to store x,y,z calibration coordinates for the machine so that when the machine is calibrated in the factory that it will work on customers computer without having to re-calibrate. Also if the customer wants to re-calibrate I want to give them the option to store locations in flash.
Jacob
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Jacob,
>
> That is probably correct. You may be able to workaround it by executing the C program below.
>
> Do you really need to flash the board. I prefer to keep the board in a virgin state and just configure it from the PC each time.
>
> Regards
> TK
>
>
>
> #include "KMotionDef.h"
> void iFLASH(void)
> main()
> {
> Â iFLASH();
> }
>
>
>
>
>
> ________________________________
> From: papa__j <jacob@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thu, May 20, 2010 1:44:20 PM
> Subject: [DynoMotion] flash command
>
> Â
> Hello,
>
> I'm trying to issue the "flash" command using the DLL via VB.NET and I'm have some issues. All other commands seem to work fine, but I think the time that it takes for the command to complete is causing the DLL to throw errors.
>
> Any suggestions?
>
> Thanks,
>
> --
> Jacob
>
|
|
Group: DynoMotion |
Message: 387 |
From: papa__j |
Date: 5/21/2010 |
Subject: Re: flash command |
Tom et. All,
This did not work for me.
Where is the does the function "void iFLASH(void)" reside, in the KMotionDLL.lib? If you are manually adding the prototype below the #include "KMotionDef.h" then I'm assuming that its not defined elsewhere?
Also, does it not take a board number parameter?
Jacob
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Jacob,
>
> That is probably correct. You may be able to workaround it by executing the C program below.
>
> Do you really need to flash the board. I prefer to keep the board in a virgin state and just configure it from the PC each time.
>
> Regards
> TK
>
>
>
> #include "KMotionDef.h"
> void iFLASH(void)
> main()
> {
> Â iFLASH();
> }
>
>
>
>
>
> ________________________________
> From: papa__j <jacob@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thu, May 20, 2010 1:44:20 PM
> Subject: [DynoMotion] flash command
>
> Â
> Hello,
>
> I'm trying to issue the "flash" command using the DLL via VB.NET and I'm have some issues. All other commands seem to work fine, but I think the time that it takes for the command to complete is causing the DLL to throw errors.
>
> Any suggestions?
>
> Thanks,
>
> --
> Jacob
>
|
|
Group: DynoMotion |
Message: 388 |
From: papa__j |
Date: 5/21/2010 |
Subject: Re: flash command |
Ah, I got this to work... I was trying to do this in VC, it needs to be in the embedded C code, seems to be working good.
Jacob
--- In DynoMotion@yahoogroups.com, "papa__j" <jacob@...> wrote:
>
> Tom et. All,
>
> This did not work for me.
>
> Where is the does the function "void iFLASH(void)" reside, in the KMotionDLL.lib? If you are manually adding the prototype below the #include "KMotionDef.h" then I'm assuming that its not defined elsewhere?
>
> Also, does it not take a board number parameter?
>
> Jacob
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Jacob,
> >
> > That is probably correct. You may be able to workaround it by executing the C program below.
> >
> > Do you really need to flash the board. I prefer to keep the board in a virgin state and just configure it from the PC each time.
> >
> > Regards
> > TK
> >
> >
> >
> > #include "KMotionDef.h"
> > void iFLASH(void)
> > main()
> > {
> > Â iFLASH();
> > }
> >
> >
> >
> >
> >
> > ________________________________
> > From: papa__j <jacob@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thu, May 20, 2010 1:44:20 PM
> > Subject: [DynoMotion] flash command
> >
> > Â
> > Hello,
> >
> > I'm trying to issue the "flash" command using the DLL via VB.NET and I'm have some issues. All other commands seem to work fine, but I think the time that it takes for the command to complete is causing the DLL to throw errors.
> >
> > Any suggestions?
> >
> > Thanks,
> >
> > --
> > Jacob
> >
>
|
|
| |